/*
* 项目实际成果Reader
*/

//   Ext.ns('Ext,pa');

var projectAchievementReader = new Ext.data.JsonReader(
            {
				root : 'list',
				totalProperty : 'totalCount',
				id : 'id',
				successProperty : '@success'
			}, 
			[ {
				name : 'actualresultsid',
				mapping : 'actualresultsid'
			}, {
				name : 'timestamp',
				mapping : 'timestamp'
			}, {
				name : 'auditmark',
				mapping : 'auditmark'
			}, {
				name : 'projectnumber',
				mapping : 'projectnumber'
			}, {
				name : 'projectname',
				mapping : 'projectname'
			},  {
				name : 'undertakeunit',
				mapping : 'undertakeunit'
			},  {
				name : 'inventpatentapplication',
				mapping : 'inventpatentapplication'
			},  {
				name : 'inventpatentauthorization',
				mapping : 'inventpatentauthorization'
			},  {
				name : 'usenewapplication',
				mapping : 'usenewapplication'
			},  {
				name : 'usenewauthorization',
				mapping : 'usenewauthorization'
			},  {
				name : 'appearancedesignapplication',
				mapping : 'appearancedesignapplication'
			},  {
				name : 'appearancedesignauthorization',
				mapping : 'appearancedesignauthorization'
			}, {
				name : 'foreignpatent',
				mapping : 'foreignpatent'
			},  {
				name : 'newtechnology',
				mapping : 'newtechnology'
			}, {
				name : 'newproduct',
				mapping : 'newproduct'
			},  {
				name : 'newmaterial',
				mapping : 'newmaterial'
			}, {
				name : 'newequipment',
				mapping : 'newequipment'
			},  {
				name : 'computersoftware',
				mapping : 'computersoftware'
			}, {
				name : 'paper',
				mapping : 'paper'
			},  {
				name : 'technologystandard',
				mapping : 'technologystandard'
			}, {
				name : 'nationalaward',
				mapping : 'nationalaward'
			},  {
				name : 'provincialaward',
				mapping : 'provincialaward'
			}, {
				name : 'cityaward',
				mapping : 'cityaward'
			},  {
				name : 'doctor',
				mapping : 'doctor'
			}, {
				name : 'master',
				mapping : 'master'
			},  {
				name : 'undergraduate',
				mapping : 'undergraduate'
			}, {
				name : 'fundsavailable',
				mapping : 'fundsavailable'
			},  {
				name : 'fundsinvestment',
				mapping : 'fundsinvestment'
			}, {
				name : 'benefitacquired',
				mapping : 'benefitacquired'
			}, {
				name : 'projectsummary',
				mapping : 'projectsummary'
			}, {
				name : 'sparefield1',
				mapping : 'sparefield1'
			}, {
				name : 'sparefield2',
				mapping : 'sparefield2'
			}, {
				name : 'sparefield3',
				mapping : 'sparefield3'
			}]
);

// Store

var Achievement_GridStore = function(){
	Achievement_GridStore.superclass.constructor.call(this, {
	        proxy: new Ext.data.HttpProxy({
	            url: 'projectManage/checkManageAction!getAllCheck'
	        }),

	        reader : Achievement_GridReader,
			pageSize : 20
	    });

};
Ext.extend(Achievement_GridStore, Ext.data.Store);